
package com.seekting.chess;

import loon.core.graphics.LColor;
import loon.core.graphics.Screen;
import loon.core.graphics.opengl.GLEx;
import loon.core.graphics.opengl.LTexture;
import loon.core.graphics.opengl.LTextures;
import loon.core.input.LTouch;
import loon.core.timer.LTimerContext;

public class Chess extends Screen {
    LTexture lTexture;

    @Override
    public void onLoad() {
        super.onLoad();
        int width = Main.screen_width / 13;
        int height = 40;
        lTexture = LTextures.loadTexture("assets/238.png");
    }

    @Override
    public void draw(GLEx g) {
        g.drawClear(LColor.white);
        if (!isOnLoadComplete()) {
            return;
        }
        lTexture.draw(10, 20, 100, 20);
    }

    @Override
    public void alter(LTimerContext timer) {
        // TODO Auto-generated method stub

    }

    @Override
    public void touchDown(LTouch e) {
        // TODO Auto-generated method stub

    }

    @Override
    public void touchUp(LTouch e) {
        // TODO Auto-generated method stub

    }

    @Override
    public void touchMove(LTouch e) {
        // TODO Auto-generated method stub

    }

    @Override
    public void touchDrag(LTouch e) {
        // TODO Auto-generated method stub

    }
}
